package com.ws.user.user.service;

import com.ws.common.easyui.util.Page;
import com.ws.user.user.entity.User;
import com.ws.common.base.service.IBaseService;

import java.util.List;

public interface IUserService extends IBaseService<User>{
	public List<User> list(User params);

	public List<User> list(User params, Page page);

	public Integer save(User user);

	public User readByUserName(String userName);

    List<User> listByRoleId(String roleId, Page page);
}
